package com.zsk.shop.model.results;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author ljh
 * @create 2021/5/17 10:21
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户账户余额列表返回实体")
public class ShopUserAccountListResult {

    @ApiModelProperty("是否为正数")
    private Boolean isPositiveNumber = true;

    @ApiModelProperty("变动金额")
    private BigDecimal changeBalance;

    @ApiModelProperty("变动文案")
    private String content;

    @ApiModelProperty("根据变动类型中的订单编号")
    private String orderNo;

    @ApiModelProperty("根据变动类型中的团编号")
    private String groupNo;

    private Date createTime;

    @ApiModelProperty("提现时间")
    private String createTimeStr;

    private Long withdrawId;
    private Integer withdrawStatus;

    @ApiModelProperty("提现状态")
    private String withdrawStatusStr;

    @ApiModelProperty("提现失败理由")
    private String reviewReason;

    @ApiModelProperty(name = "tip", value = "变动类型为财务打款标记是否有补贴")
    private Boolean tip;
}
